#include "ccore.h"

CCore::CCore(QObject *parent) :
    QObject(parent)
{
    _mesa = new CMesa(this);
    emit mesaChanged();
    //this->MontarBaralho();
    QObject::connect(this, SIGNAL(fimRodada()), _mesa, SLOT(LimparMesa()));
}

void CCore::NovoJogo()
{
}

void CCore::NovaRodada()
{
    //this->DistribuirCartasJogadores();
    //this->VirarManilha();
}

CMesa* CCore::getMesa()
{
    return _mesa;
}


void CCore::FimRodada()
{
    emit fimRodada();
}


